import { request } from '@/utils/request'
export function getRecommendHeroData() {
  return request({
    url: '/getRecommendHeroData'
  })
}

export function getRelationshipByHeroName(params) {
  return request({
    url: '/searchHeroByName',
    method: 'post',
    params
  })
}

export function getHeroByKeyword(params) {
  return request({
    url: '/searchHeroByKeyword',
    method: 'post',
    params
  })
}
